Note: This statement is named Right Mouse Click in the Add Statement dialog box.
Clicks the right mouse button in a location.
Syntax
RMouseClick(xCoordinate, yCoordinate, WaitTime)
Arguments
| Argument | Description |
|---|---|
| xCoordinate | X coordinate to indicate the horizontal pixel location where the mouse button is pressed relative to the window or control. If a window or control is not specified, the coordinate is relative to the screen and must be within the available pixels on the test computer's screen. |
| yCoordinate | Y coordinate to indicate the vertical pixel location where the mouse button is pressed relative to the window or control.If a window or control is not specified, the coordinate is relative to the screen and must be within the available pixels on the test computer's screen. |
| WaitTime | Number of milliseconds to wait after the previous statement before pressing the mouse button. |
Supported objects
Browser, Button, Calendar, Cell, CheckBox, ColumnHeader, ComboBox, ContextMenu, Control, DateTimePicker, EditBox, Grid, HTMLElement, HTMLLink, HTMLTable, Image, Item, Label, Link, ListBox, ListView, Menu, NavigationField, PopupMenu, ProgressBar, RadioButton, Row, RowHeader, ScrollBar, Slider, SpinBox, SubItem, Tab, TabBar, ToolBar, Tree, Window
Example
Window("Report a Bug").HTMLLink("SoloSubmitLogo").RMouseClick(250, 200, 5000)
low-level action